package com.xuelang.pipeline.artifact.app.harborv2.xo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Platform {
    /**
     * The features of the OS that the artifact applys to
     */
    @JsonProperty("os_features")
    private List<String> osFeatures;
    /**
     * The version of the OS that the artifact applys to
     */
    @JsonProperty("os_version")
    private String osVersion;
    /**
     * The architecture that the artifact applys to
     */
    private String architecture;
    /**
     * The OS that the artifact applys to
     */
    private String os;
    /**
     * The variant of the CPU
     */
    private String variant;
}